/*
 * idle_plot_dialog.cpp
 *
 *  Created on: 31.07.2013
 *      Author: SpirTanol
 */

#include "ui/idle_plot_dialog.h"
#include "ui/idle_protection_plot.h"

// QT
#include <QDateTimeEdit>
#include <QPushButton>
#include <QGridLayout>

IdlePlotDialog::IdlePlotDialog(double curNom, double curMin, int volMode, double coeff)
{
	//setFixedSize(260, 300);
	setWindowTitle(trUtf8("Сдвиг порога защиты от холостого хода"));
	setMinimumSize(340, 300);

	QGridLayout *l = new QGridLayout(this);

	l->addWidget(new IdleProtectionPlot(curNom, curMin, volMode, coeff));
}
